Skip to content

Conversation

@arlen
Copy link
Contributor

@arlen arlen commented Jun 15, 2026

No description provided.

@arlen arlen self-assigned this Jun 15, 2026
@arlen arlen requested review from Ioannis and benno June 15, 2026 15:54
@@ -560,7 +560,7 @@ public function generateRedirect($entity) {
return $this->redirect(['action' => 'deleted']);
} elseif($redirectGoal == 'self'
&& $entity
&& in_array($this->request->getParam('action'), ['add', 'copy', 'edit', 'unfreeze'])) {
&& in_array($this->request->getParam('action'), ['add', 'copy', 'edit', 'unfreeze', 'forceVerify'])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unlike the other actions, forceVerify is specific to EmailAddress and so probably shouldn't be hardcoded into this list.

We probably need something like PrimaryLinkTrait's allowLookupPrimaryLink(), etc, except this probably belongs in TableMetaTrait instead. It should default to the four standard actions, then EmailAddressesTable could add forceVerify as an approved action via getSelfRedirectGoals() or whatever.

@benno
Copy link
Contributor

benno commented Jun 19, 2026

Following our discussion, I refactored this and committed it as a17494d.

@benno benno closed this Jun 19, 2026
@arlen arlen deleted the feature-cfm14-emailForceVerifyUi branch June 19, 2026 17:50
Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants